"""`hub_ctx` for Cinema 4D — the shared surface plus this host's flavour.

The contract lives in `_core.context_core` (hubApi 1). Blender's
`panel_category` names a sidebar tab; here it names the hub dialog a tool's
sub-dialog opens from, since C4D tools own no panel of their own (plan §5).
"""

from __future__ import annotations

from . import host
from ._core.context_core import HUB_API, HubContext as _HubContext


class HubContext(_HubContext):
    panel_category = "Three Blocks"


_context = HubContext(host)


def get_context() -> HubContext:
    return _context
